import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const store = new Vuex.Store({
  state: {
   singer:{}
  },
  mutations: {
    savaSinger(state,singer){
      state.singer=singer
    }
  },
  actions:{
    
  }
})

export default store; //当我一引入,直接导入store
